some fixes in index view, added AutoMapper