Added local storage and 'remember me' option.