create credit account functions