added profiles and custom user conditions