fixed up friends container and got search working