update active page, prepare user_id session