Implemented public chat on frontend