Added the rest of the fields and made them persist in localstorage