Add delete and refresh managed object methods. And add delete function into sample.
Print all users when reload in sample.