Refactored photo upload method and moved it to parse connection model. Added corresponding alert view method to view controller