photo controller is working without validation and admin.