Added username validation to the registration form