Create authhelper.php