Fixed nil typo in sessions helper