Added search functionality for year

The year dropdown menu is now pulled from the database