added user handling code