Added permission for the internet to the app and checking to make sure commiting works