Added map to the templates

added some necessary js libraries and mainly edited the dashboard page