Accessing session values in templates

In your code you are using put_session. This comes from Plug.Conn.

There is also a Plug.Conn.get_session where you pass in the conn struct and a key you want to retrieve from the session.

Hope this helps