Check for valid user in provider