Added complete functionality for panel menu and displaying post