context proccessor to enable the persistent data between templates