fixed controller

uploaded wrong controller last time. fix that b
wrong form. removed
form validation fix

uploaded wrong form. validation added and js function to hide show div