add mongodb connection with username, password