-added validation for usernames