Implemented login screen using new event system