removed non https functionality. Removed secure option when instatiating objects