adds events and getter for online users list to Application

UserConnected, UserDisconnected and getOnlineUsers()