adding input validations for create user