Update config.php.in
Update header.php

Integrated the login,register,account,logout links with the new session system.
Update index.php

Added logout function.
Update global.php

Removed some unneeded code, added session's.
Create login.php

Created simple login system.
Create register.php

Created a simple register.
Delete login.php
Delete logout.php
Delete register.php
Update index.php

Added link to password change with check to see if user was loggedin.
Create cpass.php

Created a simple password change system.
Update database.sql

Added user table:
User 
 id
 username
 password
 email.
Merge pull request #513 from SlimeTP/master

Login, register, change password (needs a bit of cleanup overall and integration with tinybox.js