Database info finished

App is now working properly on dev server in Safari
Still need to test in other browsers and on deployment server.
Comments written on all files except controller.js
Need to check styles for compatibility in other browsers.