funkcje insert i delete do database.java