added an index to microposts