registration now returns existing token if the user is already registered