routes for dicussions and some ajax handling