on 01/12/17 at 15:01
No customization needed.
Just activate in the admin that users are able to choose/change their username.
And if a user did choose a name in their profile.. it will be available as yoursite.com/-username
for example... click my name.. and see what happens ;)