modified index.php. made new front-end with single login to return json. currently no css or javascript