added loading and disabled button