Login / Logout works. Needs some cleanup, though.