Added some checks to AuthModule and require auth to unload, load, die etc.