chat app which use long polling