change the layout of teacher page and gitignore