integrate the html and back_end