registration link and auth check on registration.