added validation for user create