public function openSession(){
        $Login = new services\login\Session( $this);
        $Login->askLoginStatus();
        $Login->createSession();

        $this->permissions   = $Login->getPermissions();
        $this->session_token = $Login->getSessionToken();
    }