building security model
finshed user edit, update, index, and destroy actions