started to add logic behind letitia's template changes.  subject code dropdown now pulls distinct subject code from DB.