Fixed issue to check if user is logged in instead of trying to get a null session item
Merge pull request #1 from bsquidwrd/dev

Fixed issue to check if user is logged in instead of trying to get a nul...