auth core as own module