hides and reveals info based on user submit