added tbl gateway for users