Still breaks API as the parameter is mandatory. You need to make it optional by:

    public function loginUser($username, $password, $rememberme, $secretkey = null)

And handling NULL as special case.