added exception logging and redirect for doViewAccountDetail.