backend structure in place, merge with js frontend so data is saved