add module and change auth interface