added logic for validation user token (T-6063)