on lesson generatgin devise views