Added login check to question cycling method