Added edit and delete function to admin.php frontend/php.