add photo controller