detach if user already in database