Why can not login if we insert the record manually into real Online Google Datastore, but can if we insert record via our system?
<p>Ok, I got a small app, when registering a new acc, a user have to provide</p>

<pre><code>UserName
Name
Password
</code></pre>

<p>If I register a new user via our system (Ex: Tom12, Tom, 123456), then I can login with userName <strong>Tom12</strong> &amp; password: <code>123456</code>.</p>

<p>Now, login online Google Datastore &amp; manually insert this record into it:
Ex: Tom13, Tom, 654321</p>

<p>But this time I can not login with user Name <code>Tom13</code> &amp; password <code>654321</code>.</p>

<p>You can see the <code>getUser</code> function. Note that, the <code>userName</code>is also the <code>Key</code> Name </p>

<pre><code>public static User getUser(String userName){
    Key k = KeyFactory.createKey(personKey, "User", userName);
    try {
        Entity userEntity=datastore.get(k);
        //Entity userEntity=datastore.get(userName,personKey);
        if(userEntity!=null){
            User user=new User(userName);


            setUserFromUserEntity(user, userEntity);
            return user;
        }
    } catch (EntityNotFoundException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
    return null;
}
</code></pre>

<p>So my question is that,</p>

<p><em>does Google Datastore add some timestamps or something like that into the system that I can not log in?</em></p>