Fixed trouble with user sign in