move online status to an external module