fixed small bug in removing user.