made pages stateless and url based
exrracted sidebar into a panel and made it dynamic