fix bug on navigation bar for client detail page.
Add support of create instance.