trying to figure out logout