refactoring notifs, my_orders, call on online state
merged