Changed validation of default role in profile api