add default for missing gin setting
check if attrs are given
use users_id