Orders do not store
When using your code, it simply disconnects the user. I would require a system that gives a new "order_id" without need of having to login again.
For time being, I have made a system that disconnects and logins the visitor in an automatic way, so that visitor will not know it, except for the fact that he sees 2 transitory pages running in the screen. It is, however, not quite an elegant way.
Perhaps I missed that I had to customize the red letters to something different?