added destroy, index to messages controller