fixed quiz controller
added redirect to 404 page if quiz not found