Fix bug code.
Create junit tests for SearhFormController methods.
Add junit library.
Improve if statemenet.