include session user_id, correct for each loop

Pulls user_id from session, updated foreach loop to decode and run