Fixed the afterCreateUrl for the registration app