put validations for the mandatory fields also the request method