Add indexes to my new tables and write code for inserting rows to the DB with autoincrement. Add flow for new teacher registration (still has some flaws).