fix small bug in sing in