How to rename a user?
You can edit and rename a user's name only if they are in your Contacts. To know how to add a user to your contacts, refer here.
Now open the user's chat, click on their name in the chat header, edit and hit Enter. The name of the user will be renamed.