implemented UIImagePickerController for the camera