added pin and auth timeout