Message and flagging functional on frontend, still needs to get wired up to backend