add buttons on navigation bar
refactor content title and error msg as partial