Major changes to many files and created file profile_indb.php