added validations to all models