Just to clarify, to store the login info. in session state, I would use a Shared Services Provider, and then I could interrogate the relevant database?
Also, I haven't created a user control before in sharepoint so any tips appreciated. Where would the javascript code be located?
Thanks