added validation for user addition