Obviously no UX stuff done, but logout is now functional.