improved caching and redesigned add.html page