Cleaner login/out/register, and imporved messaging