	// public function abc (Request $request){

	// 	if(isset($request['email_id']) && !empty($request['email_id']) 
	// 		AND (isset($request['password']) && !empty($request['password']) 
	// 		AND  (isset($request['current_target_lang']) && !empty($request['current_target_lang']))
	// 		{
	// 			$email_id=$request['email_id'];
	// 			$password=$request['password'];
	// 			$current_target_lang=$request['current_target_lang'];
	// 		}
	// 		else{

	// 		}

	// }
	// public function PersonProfile (Request $request)
 //    { 
	// 	if(isset($request['email']) && !empty($request['email']) AND isset($request['fname']) && !empty($request['fname']) 
	// 		AND isset($request['lname']) && !empty($request['lname'])AND isset($request['contact']) && !empty($request['contact'])AND isset($request['language']) && !empty($request['language'])  ) 
	// 		{
	// 			$email=$request['email'];
	// 			$fname=$request['fname'];
	// 			$lname=$request['lname'];
	// 			$contact=$request['contact'];
 //                $language=$request['language'];
                               
	// 			$users = DB::select('select * from user_profile_info where email_id = ?', [$email]);
	// 			if($users)
	// 			{
	// 				try 
	// 				{ 
	// 					$user_new = DB::update('update users SET fname = ? ,lname= ? , contact = ? , language = ? where email = ?', [$fname,$lname,$contact,$language,$email]);
	// 					if ( $user_new)
	// 					{
	// 						return response()->json(['status'=>'success']);
	// 					}
	// 					else 
	// 					{
	// 						return response()->json(['status'=>'failed','error'=>'Sql Error']);
	// 					}
					
	// 				}
					
	// 				catch(\Illuminate\Database\QueryException $ex)
	// 				{ 		
	// 					return response()->json(['status'=>'failed','error'=>'Sql Error']);
	// 				}
					
									  
	// 				//return response()->json(['status'=>'success','data'=>$users ]);
	// 			}
	// 			else
	// 			{
	// 				return response()->json(['status'=>'failed','error'=>'Wrong Email']);
	// 			}	
					  
				
			
	// 		}

	// 	else 
	// 		{
	// 			return response()->json(['status'=>'failed','error'=>'Incomplete Parameters']);
	// 		}
      
 //    }

// public function PersonView(Request $request)
//     {

// 		if(isset($request['email']) && !empty($request['email']))
// 		{
// //echo "yahaa";
// 			$email=$request['email'];
			
// 			$users = DB::select('select * from users where email = ? ', [$email]);
// 				if($users)
// 				{
// 					return response()->json(['status'=>'success','data'=>$users]);
// 				}
// 				else 
// 				{
// 					return response()->json(['status'=>'failed','error'=>'No Information Found']);
// 				}
			
// 		}
// 		else 
// 		{
// 			return response()->json(['status'=>'failed','error'=>'Incomplete Parameters']);		
// 		}
        
//     }


// public function PersonPwdUp (Request $request)
//     { 
// 		if(isset($request['old_password']) && !empty($request['old_password']) AND isset($request['email']) && !empty($request['email']) AND isset($request['new_password']) && !empty($request['new_password'])  ) 
// 			{
// 				$email=$request['email'];
// 				$New_Password=$request['new_password'];
//                 $New_Password1=md5($New_Password);
// 				$Old_Password=$request['old_password'];
// 				$Old_Password1 =md5($Old_Password);

// 				try 
// 				{ 

// 					$users = DB::select('select * from users where email = ? AND password = ?', [$email, $Old_Password1]);
// 					if($users)
// 					{
// 						$user_new = DB::update('update users SET password = ?  where email = ?', [$New_Password1,$email]);
// 							if ( $user_new)
// 							{
// 								return response()->json(['status'=>'success']);
// 							}
// 							else 
// 							{
// 								return response()->json(['status'=>'failed','error'=>'Sql Error1']);
// 							}
// 					}
// 					else
// 					{
// 						return response()->json(['status'=>'failed','error'=>'Wrong Username or Password']);
// 					}	
					  
// 				} 
// 				catch(\Illuminate\Database\QueryException $ex)
// 				{ 		
// 					return response()->json(['status'=>'failed','error'=>'Sql Error2']);
// 				}
			
// 			}

// 		else 
// 			{
// 				return response()->json(['status'=>'failed','error'=>'Incomplete Parameters']);
// 			}
      
//     }