User the user id variable properly so the correct user is deleted

References #184