Refactored a lot of javascript credential type functions into credentials.js
Added in a barebones navbar to all pages. Did not have great compatibility with the profile page.