tokens: While this does not answer you specific questions , this approach will help you solve the problem of the user 's profile being disabled by separating the login from the running of the query .
ner_tags: O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O