Aligning the error initialization for consistency
Added key to access userInfo on error
Using KVC setValue to safely insert data to userInfo without checking for nil
Setting userInfo response from returned data as a string