Make the login status global and force user to login when they submit their orders