fix bug in datamodel, accesstoken was not returned