return next key on auth