Changed serverURL from string to NSURL