implement clear in User