Improved Form, adding better validation

Changing form to be <form>(don't be lazy matt), adding regex validation
for search cases