setting up connection settings