use pointer for deleting user
make code clearer by changing order
use pointer for GetDocument method argument