finally connected to mongodb using mongojs