[Assign2] Add Principal for get user name