Fixes friending issues and adds buttons to friends index page.