adjusted logic to limit user show content to teachers and assistants