frontend-api communication. Data creating/updating/deleting