fixes a bug where unknown user from firebase would crash the server