inserted insertIncome function and corrected the parameter pass to insert income and expenses