added sorcery authentication