adding header and toolbar