raise if invalid session and not trying to log in and not having user
Merge pull request #26 from victorbstan/master

raise if invalid session and not trying to log in and not having user