Added cleanUser function

Added cleanUser function in order to work with ACLs in a secure way