make forms ajax for basic lessons