Server and Client side code that I wrote using Meteor (Node.js framework)