User should not able to take quiz if the quiz is not published.