Fix global session Bug
Set global session verify
Remove deprecations
Create session controller
Identation