code: func (api UsersAPI) GetAvatars(w http.ResponseWriter, r *http.Request) {
  	username := mux.Vars(r)["username"]
  
  	userMgr := user.NewManager(r)
  	u, err := userMgr.GetByName(username)
  	if handleServerError(w, "getting user from database", err) {
  		return
  	}
  
  	w.Header().Set("Content-Type", "application/json")
  	w.WriteHeader(http.StatusOK)
  	json.NewEncoder(w).Encode(&u.Avatars)
  }
docs: // GetAvatar is the handler for GET /users/{username}/avatar
  // List all avatars for the user