added connection to RethinkDB