changed profile service to reflect changes in parsing urls