added modules and authentication