create validation controller for all server side validations