fixed permission issue for anonymous users
if the user isn't logged in, display an error and don't import any stashes