Actually at any rate i figured out how to make the result null for the logon script and it works now.