Add support of AspNet Identity

* Code refactoring
* Implement logout functionlity
* Add unit tests