updated to allow referer restrictions on services, updated tier to obey item type restrictions per service. Cleaned up console.logs