 <p>The problem is your use of <code>@synthesize</code>.</p> <p>By simply writing <code>@synthesize usertoken;</code>, an ivar is created that is also just called <code>userToken</code> (no underscore).</p> <p>If you instead do <code>@synthesize usertoken = _userToken;</code>, it will work correctly.</p>