document env and session a bit for Controller