fixed so it displays Valid / invalid when a provider logs in