setting whoami cookie for anonymous users
added mongo collection handler to interact correctly with Backbone.sync