REST based client of chat application