fixed list.php content and preparing for functional form.