added a function for added med rep and admin and reflecting the added field of for account which is parent_id to cater the need of parent that handles the hierarchy of the account