starting to connect the app with the api