Added Cowan's login fix