added cocoa pods and updated server methods