checking check user condition