minor update Login function; LATEST version