Fetching the data from mongo databse part 1