Fix when user doesn't have sessions -refs BT#7749
Merge pull request #13 from danbarretodev/7749

Fix bug -refs BT#7749