more fixes to the dashboard

non-logged in users don't see an error, session_user default to 0