refactor freinds table view