updating verifyLogin to latest version