fix profile teacher and view lesson