moved code from inc/samlauth.php to class
module needed