Added ssl redirect