undertow logout

* refactor admin actions
* undertow logout