Added SessionManager
Priting exception trace