fixed issue with users logging in with unrecognized uids - just give them a new profile. We can now refresh the backend all we like! yay Also, only publish newlogin event if the new login is actually new, as in, the logged_in property went from false to true. Workaround because we have no way to do logout currently