revise wireframe and add newteacher fuctionality