Here is the link to my full project in github: my project code
Anyway, It all works exactly as I want it to, but with one weird little glitch: when on the photos page, and you click on a photo to view it, and then click back, it goes back two pages instead of one. I don't have the slightest idea how to stop it from doing this.
The photos view is in public/views.
Thanks.
-Steve