Using Flux architecture for Chat app