dept: view works, working on edit, main.php links