adds create card functionality

creates news card with user inputed question and answer,
saving it to the cards table with associated foreign key