fix UI bug in sign in