Fixing problem with user check.