fixed \n appearing double.
add semicolon
Search did not find correct user on PUT
Fixed indent
refactored to a more general put method for rest-routes.
refactor to more general getAll and get methods.
refactored to a more general delete method.