implementing custom login.

enhancing the login mechanism to allow users to specify for each login what we should do with it.

GUy.