Add app_id to session