Added showInDatabase-Check. Erromessages are displayed correctly