First prototype of authorization module