add new teacher page, fix some tests