adds ssl for sessions