added tests for edit user
finished editing, indexing and destroying for users