When a member is logged-in and they visit example.com/media - they are shown their own media gallery.
When a site user is logged-out and they visit example.com/media - they get a message "Oops !! There's no media found for the request !!"
I can see a few problems with this set up.
example.com/media and example.com/username/media will have the exact same content. Duplicate content on a website is never good. In fact many more URLs will have the exact same duplicate content e.g. example.com/username/messages/media
example.com/media will always show an empty gallery (Oops !! There's no media found for the request !!) when a visitor is logged-out.
Be good to get your thoughts on having 'media' at the end of URLs?