Frontend logic for display and approval of comments