Adding validate of photofy fields so that can throw validation errors