finished login/logout handling