Modifying PDO Connectino
===

What i have it's a login form in which the user can access via it's credentials or it can access as a guest, but what i want to do it's to identify how he is trying to access to the page, and to have a different PDO connection for each case.<br/>

I have a PHP script called `functions.php` in wich the connection it's stored and it looks something like this:<br/>

    //I have created the class Connection and it's setters and getters
    $connection = new Connection($host,$user,$pw,$db);

And basicly what i want it's to when the user logs as admin to modify this connection like this:

    if(admin){
       $connection->setUser('Admin');
       $connection->setPassword('Password');
    }

But since i made a query earlier in the code to check if the user does exist, and i made that query with the same connection but with the `guest` username and password, it won't let me change it. I don't know if i have to `__destruct()` the connection and then create it again, or what should i do.

