Add validations to models and views