added route for users by id, plus minor changes