delete(); UserSession::unsetCurrent(); User::unsetCurrent(); url_redirect('index'); return; } Template::render('auth.logout');