improved teacher login