improved obtaining registration URL
display details when registration fails