Sorcery authentication complete and its final version :)