added handling of userInfo