fix user_id and support sentry