Fixing #3 : Session not active, could not store state