Reworked routing; added proper redirects for unauthenticated users; added gravatar displays for base templates with navigation