getting mongodb to work