Fix js bug and add session gestion
Start working on seance controller