added photo controller