delete user working, but logs user out for some reason