login to remote database via php web service in iOS