Checked for unwrapped optional from CoreData user model when registering new users. If nil, user is "-1" - error case. Created code to test in HTTPBackground for background state changes