updated session variable to user_id