Return user id on creation and messages