added a method to fetch plan data for an account