populate winner_id and shows the winner in the browser