smartphone adoptions to style, nice errors, updated query for createOrFindLocalUser