Login fix

Fixed the login on the Connector.php so it can pull the Sessions etc..