Added better error checking. Logging in with Social now sets Social.localUser to that user.