added friends controller and some other stuff