def sidebar(self):
                sidebarLinks = [{
                        "label": bv.baseIcon("user", "User List"),
                        "link": ("/admin/users")
                        }, {
                        "label": bv.baseIcon("list", "Post List"),
                        "link": ("/admin/posts")
                        }]

                sidebarObject = bs.baseSidebar(sidebarLinks, self.sidebarActive)

                return sidebarObject
        def navbar(self):
                navbarLeft = [{
                        "link": "/",
                        "label": "Home",
                        "id": "home"
                        }]

                if c.session.loggedIn and c.session.user.username:
                        navDropdownList = [{
                                "label": bv.baseIcon("cog", "Admin"),
                                "link": ("/admin")
                                }, {
                                "label": bv.baseIcon("road", "Logout"),
                                "link": ("/auth/logout")
                                }]


                        navDropdown = bm.baseDropdown(navDropdownList, bv.baseIcon("user", "Heya, " + c.session.user.username, True))

                else:
                        loginForm = bf.baseForm(fields=[{
                                "name": "username",
                                "placeholder": "Username",
                                }, {
                                "type": "password",
                                "name": "password",
                                "placeholder": "Password",
                                }, {
                                "type": "submit",
                                "name": "submit",
                                "value": "Login"
                                }], action=("/auth/login"), width=3)

                        navDropdownList = [{
                                "type": "form",
                                "object": loginForm
                                }]

                        navDropdown = bm.baseDropdown(navDropdownList, bv.baseIcon("user", "Heya, Stranger", True))



                navbarRight = [{
                        "type": "dropdown",
                        "object": navDropdown
                        }]

                nav = bm.baseMenu(left=navbarLeft, right=navbarRight, active=self.navActive)

                return nav