Fix logout.
Basic editor for Domains.