Added long-polling frontEnd