added form validation for registration and started directory search results page