fix bug that user cant sign in again