adds proper validation for the username