user is automatically signed out on page unload