Adds pagination to friends index.  Refactors user panels.