factored out friends urls.