fix entry.erb and register.erb with input validations problems