fix get_by_userid