Added debug+login validation