minor css change make layout better
added view logic such as show/hide and error statements
functionalities to reset and set back the form to a pristine state