added in friend generator (number limit), fixed up controller error