server on top of mongodb for posting and getting beacon data