Conencts to app properly