added mongodb connectivity and prompting user to enter his name