Fixed login view not disappearing bug