added alerts on form page