Update authclass.php

Changing all function