add login/logout broke everything