Properly generated cards controller