Updated regexp and validations, Added localStorage