add the uid to the token authentication