Authentication and authorization of blockchain