finish user edit, update, index and destroy actions
add bugfix