Add search

Added search bar with tests
Don't need `== nil`:

```ruby
if !params[:search]
```
is more idiomatic.