fixed ajax controller after session changes