RE: If block in authenticate statement