catching on exceptions on dashboard js refresh when user logged out