Refactored getUser() to query $intv->value == $_GET['user_id'] and return surveys_completed and surveys_started only if not null.
Cleaned up ApiController->createSurvey() and Interview->getInterviewFromPrimekey() to handle encrypted value field and error condition.