corrected my-account-summary conditional logic