added admin navbar.
added settings edit view.
made sidebar conditional.
added posts admin index.