Hello MrWheezy,
You need to do some username and password validation before you load the username and password in to the $_SESSION variables.
First you need to validate that a username and password were sent from the login form.
And then you should validate that the username and password are correct by checking them against a username and password in a database.
And you have to make sure that the $_SESSION variables don't get erased when you click on your navigation links.
Also it would be nice if the username and/or password didn't get erased if you get sent back to the login form.
Some of the reasons you might get sent back to the login form would be "you didn't enter a username or password" or "the username and password entered are not valid".
And then you should make sure that the XML files you are trying to access, exist.
You will also probably have to do some editing in your $area.php pages to accommodate any problems you may encounter if any of the XML files are missing.
Just remember, you can not assume anything when you are programming.
The computer won't do your thinking for you.
Example:
index.php
mv.php
logout.php