fixed get_url_for_profile

@nasthagiri