hide form after submit register