Dealing with login->profile. Next step: fix up logout.