added Remember Code checkbox/functionality