Fix bug when sending in no metadata with user.