Each page is now using just a function in php_functions instead of just including the file. Need to work on the log in script. Requires the use of sessions and storing whether the user has successfully logged in.