Changed method name of setTopath to activateSession