add autosave ajax call
add timer functionality