connection to remote database (related to issue #4)