change session helper to appliation controller