updated session to fix ssl bug