The unload action may create a problem on reload in FF (user is logged out). Disable it for Gecko browsers.