https connection for data retrieval