rewrote login script, now it works.

first version of login, logout and register is functionally complete.
added a new build script, modified back the old one to avoid conflicts.

removed unnecessary admin/login.php script as it wasn't being used.
now, if you're not logged in, you get no menu options.

protection against using the scripts directly still isn't implemented yet though.