actually maybe I better wait for a reply from webassist on this as I will have to show a little bit of their code in order to set this up.
I don't want them to think I am giving away their code for free.
It's only a few lines that check the WA_Auth_RulePasses
and editing a little of the login script