logoutfix for post