Added error messages to DBHandler