Getting list of available years. And search by year.