if you get redirected to the login screen, we wil now send you back to the page you wanted. Added sign out link to dashboard.
added logic to dashboard that looks at navigation config to determine what sections to display.