application helper updated for sessions
Merge pull request #9 from dontmitch/application-helper

application helper updated for sessions