Added an API request to check a username

Added the API request checkUsername to user allowing the username to be changed if it meets the requirements.