function: get warehouse name when clicking userinfo in main page.