add field accountType to user entity and authentication doesn't require username any more