removed forms as well and changed to AJAX requests