separated add_friend_table from the event profile page into a partial so that it's more portable