Added validation to make sure a username isn't already taken.