get branch information for drop down in create/edit page, some cleanup