fixed #108: take quiz is no longer available when there are no questions
makes sure the _grade view only happens for admins