removing commented server code
fix for Github bug #37, moving search query into a Q block and adding failure handling code to prevent an unhandled exception related to /api/search