add some configs to spring config
add logging