added logging & fixed port in applicationContext