Implemented events for realtime admin view. Fixes for login in mocked backend.