added photos framework and User associations to the photos