now redirects to login from dashboard before loading master page