little enhancement: show the number of layers present into the database
add: checking fields required by database connection