If you ever have the need to change a linux user’s login and home directory, here is a quick tip:
To change the users home directory, execute the following:
usermod -l <newname> -d /home/<newname> -m <oldname>
And to change the group of the user, execute the following.
groupmod -n <newgroup> <oldgroup>
Just make sure you are logged in as a different user before executing the same. You can either login as root user or create an other user with sudo privileges to execute the commands.