added function to delete user