added photos controller and model and ran migrations