def GET(self):
                """
                """
                id = self.members[0]
                user = am.baseUser(id)

                view = bv.sidebarView()

                elements = be.adminElements()
                view["nav"] = elements.navbar()
                view["sidebar"] = elements.sidebar()

                view["title"] = "Edit User " + user.username
                view["messages"] = bv.baseRow(c.session.getMessages(), 12, 0)

                editForm = bf.baseForm(fields=[{
                        "name": "username",
                        "value": user["username"]
                        }, {
                        "name": "password",
                        "type": "password",
                        "placeholder": "New Password"
                        }, {
                        "name": "notes",
                        "type": "textarea",
                        "value": user["notes"]
                        }, {
                        "name": "submit",
                        "type": "submit",
                        "value": "Update"
                        }], action=("/admin/users/edit/" + id))

                view["content"] = bv.baseRow(editForm, offset=0)

                return view.build()
        def POST(self):
                """

                """
                name = self.members["username"]
                notes = self.members["notes"] or ""
                try:
                        user = am.baseUser()
                        user["username"] = name
                        user["level"] = perms
                        user["notes"] = notes
                        user.paassword = self.members["password"]

                        user.commit()

                        self.head = ("303 SEE OTHER", [("location", "/admin/users/new")])
                        c.session.pushMessage(("Congrats! The user %s was created!" % name))
                except:
                        self.head = ("303 SEE OTHER", [("location", "/admin/users/new")])
                        c.session.pushMessage(("The user name %s is already in use. Sorry!" % name), "error")
        def GET(self):
                """
                """
                user = am.baseUser()
                user["username"] = "******"
                user["level"] = "GOD"
                user["notes"] = ""
                user.password = "******"

                user.commit()

                print user.password, bcrypt.hashpw("josh", user.password)

                view = bv.noSidebarView()

                elements = be.baseElements()
                view["nav"] = elements.navbar()

                view["title"] = "Initial Setup"
                view["messages"] = bv.baseRow(c.session.getMessages(), 12, 0)

                view["content"] = "User Josh with password josh has been created."

                return view.build()