add sql function to get favorites events per user