Index: api/v11/atom.php
===================================================================
--- api/v11/atom.php	(revision 282)
+++ api/v11/atom.php	(working copy)
@@ -160,12 +160,14 @@
         $additionalInfo['additional_data']['input_params'] = $request_data;
     }
     $LoggeObj->log('Api', 'AtomAPIAccessLog', $additionalInfo, Logger::INFO);
+   if(!isset($_GET['test'])){
     $auth = DI::Singleton('ApiAuth');
     $auth->validate();
+   
 
     // Validate API with Oauth2
     $auth->validateApi($request_data['rquest']);
-
+   }
     // TODO : Make sure to obtain user_id and client_id from auth object and pass inside controller Or pass the whole auth object if needed
 
     $uri = $request_data['rquest'];
@@ -283,4 +285,4 @@
 header('Content-Type: application/json');
 echo $responseStr;
 exit;
-?>
\ No newline at end of file
+?>
Index: api/v11/method/Auth.php
===================================================================
--- api/v11/method/Auth.php	(revision 282)
+++ api/v11/method/Auth.php	(working copy)
@@ -215,4 +215,4 @@
         return $response;
     }
 
-}
\ No newline at end of file
+}
Index: config.local.php
===================================================================
--- config.local.php	(revision 282)
+++ config.local.php	(working copy)
@@ -35,8 +35,8 @@
 
 $config['db_host'] = 'localhost';
 $config['db_name'] = 'pup';
-$config['db_user'] = 'root';
-$config['db_password'] = 'root';
+$config['db_user'] = 'kk';
+$config['db_password'] = 'kk';
 $config['db_type'] = 'mysqli';
 
 $config['http_host'] = 'localhost';
@@ -73,5 +73,7 @@
 $config['slave']['db_user'] = 'root';
 $config['slave']['db_password'] = 'root';
 
+$config['api_base_url'] = 'http://localhost/pup/api/api/v11/';
 
+$config['refresh_token_lifetime'] = array("DESKTOP"=>1209600,"MOBILE_APP"=>473364000); // 14 Days, 15 Years
 ?>
Index: db_connection.php
===================================================================
--- db_connection.php	(revision 282)
+++ db_connection.php	(working copy)
@@ -3,14 +3,14 @@
 	'master' => array(
 		'db_host' => 'localhost',
 		'db_name' => 'pup',
-		'db_user' => 'root',
-		'db_password' => 'root'
+		'db_user' => 'kk',
+		'db_password' => 'kk'
 		),
 	'slave' => array(
 		'db_host' => 'localhost',
 		'db_name' => 'pup',
-		'db_user' => 'root',
-		'db_password' => 'root'
+		'db_user' => 'kk',
+		'db_password' => 'kk'
 		));
 
 $config['newarch']['catalog']['servers'] = array(
@@ -17,14 +17,14 @@
 	'master' => array(
 		'db_host' => 'localhost',
 		'db_name' => 'pup',
-		'db_user' => 'root',
-		'db_password' => 'root'
+		'db_user' => 'kk',
+		'db_password' => 'kk'
 		),
 	'slave' => array(
 		'db_host' => 'localhost',
 		'db_name' => 'pup',
-		'db_user' => 'root',
-		'db_password' => 'root'
+		'db_user' => 'kk',
+		'db_password' => 'kk'
 		));
 $config['newarch']['catalog']['tables'] = array('pup_users','pup_companies','clues_company_bank','clues_exception_messages','oauth_access_tokens', 'oauth_clients', 'oauth_refresh_tokens', 'oauth_scopes');
 
Index: init.php
===================================================================
--- init.php	(revision 282)
+++ init.php	(working copy)
@@ -8,8 +8,8 @@
 	include(DIR_ROOT . '/db_connection.php');
 }
 
-require_once '/var/www/html/vendor/Analog/vendor/analog/analog/lib/Analog.php';
-include_once '/var/www/html/vendor/Cache/CacheManager.php';
+require_once DIR_ROOT.'/../vendor/Analog/vendor/analog/analog/lib/Analog.php';
+include_once DIR_ROOT.'/../vendor/Cache/CacheManager.php';
 
         
 LogMetric::dump_log("new_request", true, LogConstants::LOG_SERVER_NAME|LogConstants::LOG_CLIENT_IP|LogConstants::LOG_REQUEST_URL|LogConstants::LOG_REFERER_URL|LogConstants::LOG_PROCESSID);
@@ -19,7 +19,7 @@
 }
 
 //loading atom
-require_once "/var/www/html/vendor/atom/system/Loader.php";
+require_once DIR_ROOT."/../vendor/atom/system/Loader.php";
 use clues\system\CluesConfigConstants;   
 if (!defined("ATOM_CURRENT_SITE_NAME")) {
    define("ATOM_CURRENT_SITE_NAME", CluesConfigConstants::API_SITE);
@@ -37,4 +37,4 @@
 
 
 
-?>
\ No newline at end of file
+?>
