set session in beforeModel instead of setupController
Merge pull request #6 from mehulkar/master

set session in beforeModel instead of setupController