Updates to the login scripts

Still has bugs
Remove Config File

Was causing issues.
General update and bug fixes

Managed to get the login script working. Just need to finnish the
script to stop un-loggedin people from accessing the main.php file.