modified tank_auth core to use $this->data, added header and footer information