created models with associations and email validations