Function to recommend an item to a user