Delete file db.class.php.old and base.class.php
Add Logger Class and login method in User Class