added validation to usernme