Validation rules en Photo and post Modeles
Validation rules and Error handling