fixed user sign in bug