fixed enable/disable user logic