changed db connect url to mongolab
multiple event triggering bug fixed