WIP: Generating a Session Controller