added header menu. it needs serious refactoring, but the code is there