Added view pages for teacher, and did controller and migrations