added validation to require one photo