Handle duplicated patient bug, handle not registered patient in add patient dashboard