Implementing crud actions for pastes