add data to db
add json routes