initial api#profile method implementation