fixed bug in router.js start_checking_for_cookie function: must reference router instance for checking if reserved_order_id is presend. also, more error checking in users and orders routes.