added connection to backend