Guest page tweaks

For my customers i have created some custom fields with some data important to the customer.

For every custumer i have created a user account so they can login on their own enviroment and see all the invoices end quotes.

I am trying to show there custom fields on the dashboard when a guest logs in, but somehow it does not work.

the cutom field is like ```

<?php echo $custom_fields['user']['Password'] ?>

I am only getting erros when using the code above in application/modules/guest/views/index.php

Can some please tell me how to do this:

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: custom_fields

Filename: views/index.php

Line Number: 55


File: /var/www/InvoicePlane/application/modules/guest/views/index.php
Line: 55
Function: _error_handler

File: /var/www/InvoicePlane/application/third_party/MX/Loader.php
Line: 464
Function: include

File: /var/www/InvoicePlane/application/third_party/MX/Loader.php
Line: 415
Function: _ci_load

File: /var/www/InvoicePlane/application/modules/layout/controllers/Layout.php
Line: 40
Function: view

File: /var/www/InvoicePlane/application/modules/guest/controllers/Guest.php
Line: 31
Function: buffer

File: /var/www/InvoicePlane/index.php
Line: 325
Function: require_once