@Override public User findByPasswordResetToken(String token) { return createFromVertex( singleOrDefault( graph .query(authorizations) .has(UserVisalloProperties.PASSWORD_RESET_TOKEN.getPropertyName(), token) .has(VisalloProperties.CONCEPT_TYPE.getPropertyName(), userConceptId) .vertices(), null)); }