read connection details from porperties file