changed php file and began working on permissions fixes for iOS 8