added logic to getUser for not found case
	modified:   API/api/pub/api.php
	modified:   API/api/pub/models/User.php