Implement recommendations logic on backend