added mongodb & test index routes