get username scope with sidebar working