Added persist to simple login demo