refactored the /users route and updating the nickname and send message functionalities