public function LoginAction()
 {
     $data['title'] = 'Đăng nhập vào hệ thống';
     $data['notification'] = 'Đăng nhập vào hệ thống';
     if ($input = $this->getPostData()) {
         $user = Model::CheckUserAdmin('user', $input['username'], $input['password']);
         if ($user) {
             $this->app['session']->set('admin', $input['username']);
             return $this->redirect('admin-home');
         } else {
             $data['notification'] = 'Username hoặc password không đúng';
         }
     }
     return $this->render('admin/auth/login.html.twig', $data);
 }