friends controller and separate static layout