updated get_prof template tag to deal with more than one profile returned from the API