added SSL protection