Collection and document redirect when not logged in
Merge pull request #249 from gterrono/fix-redirect

Collection and document redirect when not logged in