Verified and updated providers login javascript.