Added logout.
Moved to Angular.
Added empty template for default case.