frontend endpoints for appending tasks and messages