introduced doGet to handle HTTP GET requests, closes #21