added missing files
added ajax to push data and add to db