added the authenticate control