adding realtime updates
working on panel notifications
cleaning up code