added simple logger for web requests and try/catch in web server