corrected addincome function and added getcategoryid for Incomes