Removed unnecessary code from /users/profile method