Added logging feature and restricted URLS to HTTP