change http request type
change getbyusername -> getbyid