added profile setting APIs refs #192