Implemented web server functionality