changed getUser to getUserMedia and added getUser function

(more consistent with API)