added parse login/logout