Updated for FriendPod, as opposed to Laravel