diff --git a/lawmakers.php b/lawmakers.php
index e52dfa0..c8a5acc 100644
--- a/lawmakers.php
+++ b/lawmakers.php
@@ -1,9 +1,56 @@
+include 'top.php';
+require_once "Dao.php"; ?>
-
+
\ No newline at end of file
+/* get the legislator details
+// FIXXXXXX extra fields
+ $suffix = $data['personal']['address']['streetaddress'];
+ $nickname = $data['personal']['address']['city'];
+ $website = $data['personal']['address']['postalcode'];
+
+ $first_name = $data['first_name'];
+ $last_name = $data['last_name'];
+ $middle_name = $data['middle_name'];
+ $district = $data['district'];
+ $party = $data['party'];
+ $active = $data['active'];
+ $chamber = $data['chamber'];
+ $photo_url = $data['photo_url'];
+
+
+ $sql = "INSERT INTO lawmakers(first_name, last_name, middle_name, district, party, active, chamber, photo_url)
+ VALUES('$first_name', '$last_name', '$middle_name', '$district', '$party', '$active', '$chamber', '$photo_url')";
+ if(!mysql_query($sql,$con))
+ {
+ die('Error inserting data: ' . mysql_error());
+ }
+ }
+
+ VALUES('".$item['first_name']."', '".$item['last_name']."', '".$item['middle_name']."', '".$item['district']."', '".$item['party']."', '".$item['active']."', '".$item['chamber']."', '".$item['photo_url']."');
+*/
+
+ try {
+ $dao = new Dao();
+ } catch (Exception $e) {
+ var_dump($e);
+ die;
+ }
+
+//insert into mysql table
+ saveJson($data);
+
+
+
+ include 'footer.php'; ?>
\ No newline at end of file
diff --git a/login_test.php b/login_test.php
deleted file mode 100644
index b518258..0000000
--- a/login_test.php
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
Login successful! Welcome back, = $name ?>.
-
-
Sorry, incorrect user name or password.
-
diff --git a/newaccount.php b/newaccount.php
index 9bd992a..4e3187f 100644
--- a/newaccount.php
+++ b/newaccount.php
@@ -1 +1,67 @@
-new user account
\ No newline at end of file
+
+
+
+
+
+
+ Legislative Dash
+
+
+
Create new account
+
+
+
+
+
+
Most Active
+
S 1081
+
Passed Senate, 2/20/2015
+
Summary: HEALTH CARE - Amends existing law to provide reserves and surplus requirements of public postsecondary educational institutions with a public postsecondary educational institution plan for health care benefits.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/users.php b/users.php
index 1abedd2..48a634b 100644
--- a/users.php
+++ b/users.php
@@ -38,5 +38,5 @@ function redirect($url, $flash_message = NULL) {
function new_user($name, $password, $user_info) {
$db = new PDO("mysql:host=127.0.0.1;port=8889;dbname=idleg_test", "root", "root");
-
+ }
?>
\ No newline at end of file