Moved alreadyExists to CheckUserNameEndpoint.
Added rest endpoint to check if the username already exists.
Merge remote-tracking branch 'upstream/master'