added photos controller and index action