setting user id when creating new entry