added php script and click event listener to join_form