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.