removed jquery.validate plugin, working on generic success and failure function on global view