logout action and navigation based on login state
refactor abstract test class
+ add login() and logout() helper methods
+ all protected variables now should be accessed through getters
auto redirect /user/profile to corresponding profile page for current identity