public static function init() {

		self::$app = Kecik::getInstance();;

		self::$modelUser    = '\\Model\\' . self::$app->config->get( 'auth.model' );
		self::$postUsername = self::$app->config->get( 'auth.post_username' );
		self::$postPassword = self::$app->config->get( 'auth.post_password' );

		self::$fieldUsername   = self::$app->config->get( 'auth.field_username' );
		self::$fieldPassword   = self::$app->config->get( 'auth.field_password' );
		self::$fieldLevel      = self::$app->config->get( 'auth.field_level' );
		self::$loginRoute      = ( self::$app->config->get( 'auth.login_route' ) != '' ) ? self::$app->config->get( 'auth.login_route' ) : self::$loginRoute;
		self::$logoutRoute     = ( self::$app->config->get( 'auth.logout_route' ) != '' ) ? self::$app->config->get( 'auth.logout_route' ) : self::$logoutRoute;
		self::$loginTemplate   = ( self::$app->config->get( 'auth.login_template' ) != '' ) ? self::$app->config->get( 'auth.login_template' ) : self::$loginTemplate;
		self::$encryptFunction = ( self::$app->config->get( 'auth.encrypt_function' ) != '' ) ? self::$app->config->get( 'auth.encrypt_function' ) : self::$encryptFunction;

		if ( ! empty( self::username() ) ) {
			$model = self::$modelUser;
			$users = $model::find( [
				'where' => [
					[ self::$fieldUsername, '=', self::username() ]
				]
			] );

			if ( count( $users ) > 0 ) {
				self::$info = $users[0];
			}
		}

		AuthInit( self::$app );
	}