Adding/updating dynamic environment filed value on login

I’m beginner with TLJH. i want to set specific environment variable with value(downloading from s3) on successful login of user so that user specific values can be used from notebook. I’m not finding any clear examples to do same. can you please help me with this by providing necessary information