Create handler.js

This is a simple handler, it takes the query information, looks for the command (/signin) queries the mongoDB, returns a doc, converts to JSON to be sent back to the method that originally called it.