@Override
	public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws Exception {
		
		if(e.getMessage() instanceof WelcomeMessage) {
			updateListener.welcomeMessageReceived((WelcomeMessage) e.getMessage());
		} else if(e.getMessage() instanceof UserSyncEvent) {
			Users.syncUsers((UserSyncEvent) e.getMessage());
		} else if(e.getMessage() instanceof UserStatus) {
			Users.userStatusChanged((UserStatus) e.getMessage());
		}
		
		super.messageReceived(ctx, e);
	}