Added some error checking when removing a user.