Index: pro-violet-viettel/sourcecode/application/modules/frontend/controllers/home.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/controllers/home.php	(revision 883)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/controllers/home.php	(revision 884)
@@ -5,4 +5,8 @@
 /**
  * Home Class
+ * @todo Control main actions 
+ * @see index()
+ * @see singin()
+ * @see signout()
  *
  * @author dzungnv02
@@ -18,4 +22,8 @@
 	}
 	
+	/**
+	 * function index
+	 * @todo checked is sign-in then redirect to lecture page else redirect to sign-in page
+	 */
 	public function index() {
 		$user_info = $this->session->userdata ( 'userInfo' );
@@ -41,4 +49,8 @@
 	}
 	
+	/**
+	 * function signin
+	 * @todo Execute sign-in action
+	 */
 	public function signin() {
 		$username = $this->input->post ( 'username', TRUE );
@@ -83,4 +95,8 @@
 	}
 	
+	/**
+	 * funtion signout
+	 * @todo Execute signout action
+	 */
 	public function signout() {
 		//$this->session->sess_destroy ();
@@ -92,72 +108,11 @@
 	}
 	
-	public function register() {
-		$this->load->model ( 'user_model' );
-		$collaborator = '0979947802';
-		$serviceID = 1;
-		$username = '0978618113';
-		$commandcode = 'commandcode1';
-		$info = 'ABCD';
-		// $receiveTime = time();
-		$receiveTime = date ( "Y-m-d H:i:s" );
-		$data = $this->user_model->register ( $username, $collaborator );
-		echo $data;
-	}
-	
-	public function change_profile() {
-		$this->load->model ( 'user_model' );
-		$sentNumber = '0979947802';
-		$serviceID = 1;
-		$password = '2933369';
-		$commandcode = "SBG";
-		$receiveID = '0977274183';
-		$info = "SBG TD";
-		$receiveTime = date ( "Y-m-d H:i:s" );
-		$status = 0;
-		$data = $this->user_model->changeProfile ( $sentNumber, $receiveID, $password, $status );
-		echo $data;
-	}
-	
-	public function change_password() {
-		$this->load->model ( 'user_model' );
-		$sentNumber = '0979947802';
-		$password = '935322';
-		$data = $this->user_model->changePassword ( $sentNumber, $password );
-		echo $data;
-	}
-	
-	public function register_vip() {
-		$this->load->model ( 'user_model' );
-		$sentNumber = '0979947802';
-		$p_code = 1;
-		$serviceID = 1;
-		$commandcode = "SBG";
-		$vipNum = 1;
-		$mainAccBalanced = 15000;
-		$info = "SBG DK VIP1";
-		$receiveTime = date ( "Y-m-d H:i:s" );
-		$status = 0;
-		$data = $this->user_model->registerVip ( $sentNumber, $p_code );
-		echo $data;
-	}
-	
-	public function recharge_account() {
-		$this->load->model ( 'user_model' );
-		$sentNumber = '0979947802';
-		$receiveID = '01662860000';
-		$serviceID = 1;
-		$commandcode = "SBG";
-		$vipNum = 1;
-		$mainAccBalanced = 15000;
-		$amount = 1000;
-		$info = "SBG NAP 10000";
-		$status = 0;
-		$receiveTime = date ( "Y-m-d H:i:s" );
-		$data = $this->user_model->rechargeAccount ( $sentNumber, $amount );
-		//$data = $this->user_model->insertPaidlog($sentNumber, $sentNumber, 2, $amount, $receiveTime);
-		echo $data;
-	}
-	
-	public function is_viettel($number) {
+	/**
+	 * function is_viettel
+	 * @param string $number
+	 * @return 1:true;0:false
+	 * @todo checked the phone number is viettel subscriber
+	 */
+	private function is_viettel($number) {
 		$viettel = array (
 				'096',
Index: pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php	(revision 883)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/controllers/lecture.php	(revision 884)
@@ -6,5 +6,5 @@
 /**
  * Lecture Class
- * 
+ * @todo Show lecture editor software
  * @author dzungnv02
  *
@@ -12,4 +12,8 @@
 class Lecture extends MX_Controller {
 
+	/**
+	 * function __construct
+	 * @todo constructor of class
+	 */
     public function __construct() {
         parent::__construct();
@@ -18,4 +22,8 @@
     }
 
+    /**
+     * function index
+     * @todo Show lecture editor
+     */
     public function index() {
         $this->load->model('User_model');
Index: pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php
===================================================================
--- pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php	(revision 883)
+++ pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php	(revision 884)
@@ -1,7 +1,25 @@
 <?php
-
 if (!defined('BASEPATH'))
     exit('No direct script access allowed');
 
+/**
+ * Class User
+ * @todo Execute actions of user
+ * 
+ * @see function profile
+ * @see function packageRegister
+ * @see function finishRegisterPackage
+ * @see function regpackage
+ * @see function update_info
+ * @see function update_user
+ * @see function change_password
+ * @see function trade_history
+ * @see function getUserInfor 
+ * @see function adminUpdateUser
+ * @see function regis_history
+ *  
+ * @author dungnv02
+ *
+ */
 class User extends MX_Controller {
 
