fixed home page error after sign out