fix user log in error