Show and hide input fields for editing user profile