trying to figure out how to handle logged out users in extenstion