implemented API to so users can change their usernames