Fix display of login JS. Fix logout.