Adding courses and assignments to database. After the due date the assignments are automatically deleted from database.