implemented maintenace page
made header dynamic - now links to main page or maintenance panel depending on current view.