adds PhotoValidator; prepares for photo upload feature