added endpoint for getting user