diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000000000000000000000000000000000000..500257ec6080bcea5ec4c6d961264b89fb5aaa6a
Binary files /dev/null and b/.DS_Store differ
diff --git a/app/Http/Controllers/Auth/AuthController.php b/app/Http/Controllers/Auth/AuthController.php
index a100dd6ef3fdc7ad243c1744b59ca56001e72b91..455e4e9916d185caad37991e4e0a640c9cc67bf7 100644
--- a/app/Http/Controllers/Auth/AuthController.php
+++ b/app/Http/Controllers/Auth/AuthController.php
@@ -51,7 +51,7 @@ class AuthController extends Controller
         return Validator::make($data, [
             'name' => 'required|max:255',
             'email' => 'required|email|max:255|unique:users',
-            'password' => 'required|min:6|confirmed',
+            'password' => 'required|min:6|confirmed'
         ]);
     }
 
@@ -63,10 +63,11 @@ class AuthController extends Controller
      */
     protected function create(array $data)
     {
-        return User::create([
-            'name' => $data['name'],
+        return (User::create([
+            'id' => $data['id'],
+            'name' => \App\Pegawai::find($id)->nama,
             'email' => $data['email'],
-            'password' => bcrypt($data['password']),
-        ]);
+            'password' => bcrypt($data['password'])
+        ]));
     }
 }
diff --git a/app/Pegawai.php b/app/Pegawai.php
new file mode 100644
index 0000000000000000000000000000000000000000..22e93b53af81b7b0bd74352967d3a8d3b4571876
--- /dev/null
+++ b/app/Pegawai.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace App;
+
+use Illuminate\Database\Eloquent\Model;
+
+class Pegawai extends Model
+{
+    protected $connection = 'pplsql';
+    protected $table = 'pegawai';
+}
diff --git a/app/User.php b/app/User.php
index a2da2f83054918f952f2c928508b82d3c99481d8..7c82d45268c1f889c8bca9e499c48c31f86be418 100644
--- a/app/User.php
+++ b/app/User.php
@@ -12,7 +12,7 @@ class User extends Authenticatable
      * @var array
      */
     protected $fillable = [
-        'name', 'email', 'password',
+        'id', 'name', 'email', 'password',
     ];
 
     /**
diff --git a/config/database.php b/config/database.php
index 8451a62fbf2635da0714f17996c7b14683489f14..16ebed70b58b6b996290b936f2e0c30519811015 100644
--- a/config/database.php
+++ b/config/database.php
@@ -66,6 +66,20 @@ return [
             'engine' => null,
         ],
 
+        'pplsql' => [
+            'driver' => 'mysql',
+            'host' => env('DB_HOST_PPL', 'localhost'),
+            'port' => env('DB_PORT', '3306'),
+            'database' => env('DB_DATABASE_PPL', 'forge'),
+            'username' => env('DB_USERNAME', 'forge'),
+            'password' => env('DB_PASSWORD_PPL', ''),
+            'charset' => 'utf8',
+            'collation' => 'utf8_unicode_ci',
+            'prefix' => '',
+            'strict' => false,
+            'engine' => null,
+        ],
+
         'pgsql' => [
             'driver' => 'pgsql',
             'host' => env('DB_HOST', 'localhost'),
diff --git a/public/.htaccess b/public/.htaccess
index 1d677765410027ae5a9cd38080886f64a38f0385..1ece7930eee1250cd48bc314af3a952a652d51c8 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -1 +1,8 @@
 DirectoryIndex index.php
+
+Options +FollowSymLinks
+RewriteEngine On
+
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^ index.php [L]
\ No newline at end of file
diff --git a/public/index.php b/public/index.php
index c5820533bc15708540da48509ba70883ae9ed81a..fb92a28214ce2a4748c9520ccefeacac6c32cc98 100644
--- a/public/index.php
+++ b/public/index.php
@@ -1,58 +1 @@
-<?php
-
-/**
- * Laravel - A PHP Framework For Web Artisans
- *
- * @package  Laravel
- * @author   Taylor Otwell <taylorotwell@gmail.com>
- */
-
-/*
-|--------------------------------------------------------------------------
-| Register The Auto Loader
-|--------------------------------------------------------------------------
-|
-| Composer provides a convenient, automatically generated class loader for
-| our application. We just need to utilize it! We'll simply require it
-| into the script here so that we don't have to worry about manual
-| loading any of our classes later on. It feels nice to relax.
-|
-*/
-
-require __DIR__.'/../bootstrap/autoload.php';
-
-/*
-|--------------------------------------------------------------------------
-| Turn On The Lights
-|--------------------------------------------------------------------------
-|
-| We need to illuminate PHP development, so let us turn on the lights.
-| This bootstraps the framework and gets it ready for use, then it
-| will load up this application so that we can run it and send
-| the responses back to the browser and delight our users.
-|
-*/
-
-$app = require_once __DIR__.'/../bootstrap/app.php';
-
-/*
-|--------------------------------------------------------------------------
-| Run The Application
-|--------------------------------------------------------------------------
-|
-| Once we have the application, we can handle the incoming request
-| through the kernel, and send the associated response back to
-| the client's browser allowing them to enjoy the creative
-| and wonderful application we have prepared for them.
-|
-*/
-
-$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
-
-$response = $kernel->handle(
-    $request = Illuminate\Http\Request::capture()
-);
-
-$response->send();
-
-$kernel->terminate($request, $response);
+<?php php_ini_loaded_file(); ?>
\ No newline at end of file
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php
index 24f0d99a8a310ce90e26487e7f1c7683d02bc87f..8b0a49fdef8e471e123907f60d97b9854f51ad07 100644
--- a/resources/views/auth/register.blade.php
+++ b/resources/views/auth/register.blade.php
@@ -29,10 +29,10 @@
       <div class="list-group list-group-sm">
         
         <div class="form-group{{ $errors->has('name') ? ' has-error' : '' }}">
-          <input type="text" placeholder="Nama" class="form-control" name="name" required value="{{ old('name') }}">
-          @if ($errors->has('name'))
+          <input type="text" placeholder="NIP" class="form-control" name="id" required value="{{ old('id') }}">
+          @if ($errors->has('id'))
               <span class="help-block">
-                  <strong>{{ $errors->first('name') }}</strong>
+                  <strong>{{ $errors->first('id') }}</strong>
               </span>
           @endif
         </div>