Shopping cart tied to userid, redirects to registration if not logged in