Fixed adding teachers form functionality