app connecting to remote db