working on session stuff.

names in template stuff