Fix the login system and connect the base.php with the database server