Add validations to user and project models