Creating a relationship with favorites