Added logout and isLoggedIn to LoginSvc.