adding UI and DB connections