def index(self, page=1):
        user = ctx.request.user
        if user.role != 'root':
            raise exc.HTTPFound(location='/user/%d/edit' % (user.uid))

        page = int(page)
        users = Backend('user').paginate(page, 10)
        return render_template('user.index.html', users=users)