added html encoding on inputs. Still needs input validation
Forgot div display variable
Added input validation