Updated show_dashboard to fix endless 404s on admin login