Implemented crud actions for pastes