test logout seperately as well