Added network permissions
First test of api calls