public function run()
 {
     DB::table('users')->delete();
     $users = [['name' => 'Hanif Burhanudin', 'email' => '*****@*****.**', 'username' => 'oemah', 'password' => Hash::make('admin')]];
     foreach ($users as $val) {
         User::create($val);
     }
 }
 /**
  * Create a new user instance after a valid registration.
  *
  * @param  array  $data
  * @return User
  */
 protected function create(array $data)
 {
     return User::create(['name' => $data['name'], 'email' => $data['email'], 'username' => $data['username'], 'password' => bcrypt($data['password'])]);
 }