adding mongodb access part