Changed navigation to work on divs
Changed mongoose initialization.