Neo4j Query is not returning anything whereas in browser same query works fine
<p>Here is the code...</p>

<pre><code>var query = 'MATCH ( A:user { user_id:"user1"}) RETURN A';
var callback=function (err, res) {
    if (err){
       console.log(err);
    }
    else {
       console.log("Sign in response:"+res);
       console.log("Sign in response:"+res.columns);
    } 
};

var query_runner=require('./run_query2')
query_runner.run_query2(query,callback);
</code></pre>

<p>and The run_query method is defined as...</p>

<pre><code>var run_query2=function(query,callback){
    var neo4j = require('node-neo4j');
    db = new neo4j('http://username:password@localhost:7474');
    db.cypherQuery(query,callback);
}
module.exports.run_query2=run_query2;
</code></pre>

<p>NOTE:Creating a new entry works fine.
And the MATCH query worked fine when I tried it in the browser.
But when I try doing the same with the code, nothing gets returned.
stuck here for 3-4 hours.
HELP!</p>