updated with ssl