Added styles and hided divs, success and error handling