I have integrated Xenforo into a simple order tracking system (Custom built) using Kotomi . When I am in one of the Xenforo pages logout works , but if I try to log out from custom php pages the logout button does not work. it stays there trying to wait on something. Everything else works just fine like user based permissions and so on. Got any idea what it could be ?