add user group entity and setup authentication