Spring security based app trying to connect db with users