I currently have a hook for ClientLogin that takes the userid value and pulls the corresponding e-mail address from the database. What I'm trying to achieve next is to take that value and pass it to a javascript line in the Client Area page after successful login. But from what I've read, the hooks have limited scopes in terms of creating a new template variable and creating a template variable wouldn't allow it to be access in a template file that doesn't correspond to ClientLogin. Is it possible to take the returned value from the ClientLogin hook and pass it to another hook that (from my understanding) would have its own limited set of template files where the template variable would be accessible?