teacher page not working