register button goes away on login BUT page must be refreshed first