Add Debug controller
Update routes
Improve Session library