title: GIgya Native Login without using Facebook and Twitter Account
body: <p>Following code that i am using to login but i am getting a <code>Null</code> response</p>
  
  <pre><code>- (IBAction) signInPressed : (id)sender
  
  {
  
  [super signInPressed:sender];
  
  
   NSLog(@"ACCLoginViewController_iPhone Sign-IN Pressed");
  
  
  
  //Load the Gigya login UI component, passing this View Controller as a delegate.
  
  
  
   GSRequest *request  =  [GSRequest requestForMethod:@"accounts.login"];
  
  
  
  [request.parameters setObject:self.emailField.text forKey:@"loginID"];
  
  
  
   [request.parameters setObject:self.passwordField.text forKey:@"password"];
  
  
  
   request.parameters[@"loginID"] = @"email";
  
  
  
  [request sendWithResponseHandler:^(GSResponse *response, NSError *error) {
  
  
  if (!error) {
  
  NSLog(@"the resposne = %@",response);
  
   }
  
   else {
  
    // Check the error code according to the GSErrorCode enum, and handle it.
  
  
   NSLog(@"the Error = %@",error.description);
  
  
   }
  
   }];
  
  
  
    //  [self loadTabbar];
  
  
  }
  </code></pre>