Fix routes, mongodb connect