Added edit functionality to expenses page.