Refactoring login/logout interface for identity API
Merge branch 'master' of https://github.com/UWNetworksLab/freedom