added user favorite logic