Database communication, add 'leave MUC room' event, add internal user presence tracking, rewrite run_component to have proper OOP code.