added index & delete functions to the questions view