Added account master detail functionality