Updated quiz.php To Require Log In

Added ability to require user is logged in. If user is not logged in when required, then the require_log_in_text is shown with a log-in form.