added index method that allows editor and author