Re: Changing the user bar
You might want to look at this: https://codex.buddypress.org/developer-docs/creating-a-custom-buddypress-component/
It’s the dev guide for creating custom components in bp. It also has a complete skeleton component with lots of comments in the source code. Might help.