Adding basic mongoDB interaction. Retrieving card info from db instance and sending to client.