declared new instance of class in login.php and removed unneeded function in auth_config.php