session mgr done. changes to logic.java