fixing form validation, added noty js notification framework