Added mark lesson done logic. Ajax not working yet.