public function action_login()
{
$this->template->title = 'Login';
$this->template->content = View::factory('shindig/admin/login')->bind('user', $user)->bind('errors', $errors);
// Load an empty user
$user = Sprig::factory('user');
$post = Validate::factory($_POST)->rules('username', $user->field('username')->rules)->rules('password', $user->field('password')->rules)->callback('username', array($user, '_login'));
if ($post->check()) {
$this->request->redirect(Route::get('shindig/admin')->uri());
}
$errors = $post->errors('auth/login');
}