Adding Session and refactoring ActiveDb
Making route name optional