added validation to user name