Update controller to create localstorage if they don't already exist.