added loading spinner on trial result page