fix indentation, create button, link button to an onlick function that makes an ajax post request when buttonis clicked.