Change data form and convert member url to id
Code refactoring