implemented index, new and create actions for transactions