added search bar to index
cleaned up bill controller and model