added alert on submit form
fix name in local storage