changed user check for clients