Fix login view and background login view after logout