fixed home page sign-in bug