Fixed incorrectly identifying slug not present when viewing site
Fixed images not saving, added template for front end
Fixed more bugs with gallery, template for pages
Use config for upload directory
authentication is working
Can have differnent config for each environment
Created config file for production