with current user func at config level