Add code to allow pictures to be pushed to firebase