Refining authentication