Changed template extensions from .tpl to .html and spell-checked something
header was pointing to the wrong script.  should have been /index.php not /login.php
Corrected refresh redirect to the correct location.
template file for all php files needing to be used in this system.