public function action_logout()
{
$this->template->title = 'logout';
$this->template->content = View::factory('shindig/admin/logout');
if (isset($_POST['logout'])) {
// Delete the user cookie
Cookie::delete('authorized');
// Redirect to the home page
$this->request->redirect('');
}
}