took out a bug where an unlogged in user would crash crags/index