[Codechange] Code formatting
[Codechange] Code formatting
[Codechange] Code formatting
[Fix] Undefined variable
[Fix] BasePresenter now redirects login/logout without errors
Merge pull request #10 from only-a-ptr/master

Fixes and cleanups