added user freezing logic