fix login toast appearing when not logged in