initial 8

added some core functions implementation to core.php, added login.php
form,
some minor corrections to other scripts