added friends table stuff, part 2