Refactor edit profile url