Fix Logout action not reloading page properly