add method to connect to mongohq database