fix

fixed a problem with user login check.