Updated AAS personalise demo

added purge function
still can't sort out the internal server error...