Working on login/logout.