configuring users and favorites models to work together