parsing link format on registration