fixed auth module.