fixes #74 - redirected to login page and back to requested URL when not
logged in