Add ref helper to sign-in