index page added and mongo db querying also added