i am trying to get my login page to refresh once a user enters the wrong account details. my problem is the page doesnt refesh once submitted the old details are not removed. how can i clear the page so the user can try again adding there account details
function signOut(email, password) {
auth.signOut().then(function() {
// Sign-out successful.
}).catch(function(error) {
// An error happened.
});
};