providing functionality for https sites