implemented API so users can change their usernames