updated a few things for SSL