modules and auth