Changes to SQLDatabase, fixed Show User Gallery to now display all of
the photos the user has uploaded