login

moved login.php
fixed mysql errors
changed to procedural with oop