more rework of authorization code
more work on route authorization and transitioning
added some files
more refactoring for re-routing and authorization