changed database connection when logging in to remote database with dbmannager