html reloading for questions, priority and logic implemented