Added POST and GET for teachers