Added the get and add favorites for a user.