Finisht user edit, update, index and destroy actions
copy from MHartl