User and post associations
Use annotate gem
Friendship controller and model
Relation between user and friendship