initial generic profile api functionality