added buttons to the index view