Added logging wrapper for http handlers

In the future, consider logging request statistics to MongoDB