diff --git a/~dev_rating/application/bootstrap.php b/~dev_rating/application/bootstrap.php
index ffa030d01773e8847a7ab204c1c1c12d299de983..4c0c7c9a20abc3474ee79db22398d7cf8ceedd26 100644
--- a/~dev_rating/application/bootstrap.php
+++ b/~dev_rating/application/bootstrap.php
@@ -131,14 +131,13 @@ define('ASSEMBLY_VERSION', '0.9');
  * Enable modules. Modules are referenced by a relative or absolute path.
  */
 Kohana::modules(array(
-         'account'     => MODPATH.'account', // Authentication and account manager
          'kotwig'     => MODPATH.'kotwig', // Twig template engine
          'mpdf'     => MODPATH.'mpdf', // HTML->PDF converter
          'phpexcel' => MODPATH.'phpexcel', // HTML->MS Excel 2007 converter
          'mailer' => MODPATH.'mail',
-		// 'codebench'  => MODPATH.'codebench',  // Benchmarking tool
-	 	'database'   => MODPATH.'database',   // Database access
-	));
+        // 'codebench'  => MODPATH.'codebench',  // Benchmarking tool
+        'database'   => MODPATH.'database',   // Database access
+    ));
 
 /**
  * Set the routes. Each route must have a minimum of a name, a URI and a set of
diff --git a/~dev_rating/modules/account/classes/Kohana/Account.php b/~dev_rating/application/classes/Account.php
similarity index 99%
rename from ~dev_rating/modules/account/classes/Kohana/Account.php
rename to ~dev_rating/application/classes/Account.php
index 18091f4d5137bf065b9a3e4643ff14456e140ad2..fcf48e90e7d303d328637b1835788c3523cbbe93 100644
--- a/~dev_rating/modules/account/classes/Kohana/Account.php
+++ b/~dev_rating/application/classes/Account.php
@@ -41,8 +41,8 @@ function gradeSendMail($subject, $body, $sendToEmail, $sendToName) {
     }
 }
 
-class Kohana_Account {
-    
+class Account {
+
     protected static $_instance;
     protected $_config;
     protected $_model;
@@ -58,7 +58,7 @@ class Kohana_Account {
         }
         return self::$_instance;
     }
-    
+
     private function __construct($config = array()) {
         $this->_config = $config;
         $this->_model = new Model_Account;
diff --git a/~dev_rating/application/classes/Controller/Authentication.php b/~dev_rating/application/classes/Controller/Authentication.php
index b64e00557eb074e503a6065e5af712241ec4d0ed..81fe1806fbf332a27f3b44e2d8fd0eb3f55b2221 100644
--- a/~dev_rating/application/classes/Controller/Authentication.php
+++ b/~dev_rating/application/classes/Controller/Authentication.php
@@ -51,7 +51,11 @@ class Controller_Authentication extends Controller {
         public function action_enter_frontdoor()
         {
             $check = false;
-            $role = (int)User::instance()->RoleMark;
+            try {
+                $role = (int)User::instance()->RoleMark;
+            } catch (Exception $e) {
+                $role = (int)1;
+            }
             $isNotSigned = !User::instance()->isSignedIn();
 
             if($isNotSigned || ($role & 8) == 0) // if not signed or not admin
diff --git a/~dev_rating/modules/account/classes/Model/Kohana/Account.php b/~dev_rating/application/classes/Model/Account.php
similarity index 99%
rename from ~dev_rating/modules/account/classes/Model/Kohana/Account.php
rename to ~dev_rating/application/classes/Model/Account.php
index ff183b7d688600979d8174c9200a136480432894..87607624c00ab775a2b2496cc7fff1718fd71473 100644
--- a/~dev_rating/modules/account/classes/Model/Kohana/Account.php
+++ b/~dev_rating/application/classes/Model/Account.php
@@ -1,6 +1,6 @@
 <?php defined('SYSPATH') or die('No direct script access.');
 
-class Model_Kohana_Account extends Model
+class Model_Account extends Model
 {
     public function setHashKey($key)
     {
diff --git a/~dev_rating/modules/account/classes/Kohana/User.php b/~dev_rating/application/classes/User.php
similarity index 99%
rename from ~dev_rating/modules/account/classes/Kohana/User.php
rename to ~dev_rating/application/classes/User.php
index 0db3e694262d30e64bad647facf0dd63f9ebd6cb..181fe2902c3d2118ba0291bf6526d578a6b99419 100644
--- a/~dev_rating/modules/account/classes/Kohana/User.php
+++ b/~dev_rating/application/classes/User.php
@@ -28,7 +28,7 @@
  * @property-read $PasswordHash string
  * @property-read $start_time int
  */
-class Kohana_User implements ArrayAccess
+class User implements ArrayAccess
 {
     protected static $_instance;
     protected $_session;
diff --git a/~dev_rating/modules/account/classes/Account.php b/~dev_rating/modules/account/classes/Account.php
deleted file mode 100644
index f59c365e68f0a273d1d7b0dfeac889cad197e84c..0000000000000000000000000000000000000000
--- a/~dev_rating/modules/account/classes/Account.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Account extends Kohana_Account { }
\ No newline at end of file
diff --git a/~dev_rating/modules/account/classes/Model/Account.php b/~dev_rating/modules/account/classes/Model/Account.php
deleted file mode 100644
index 564605891f68fe005dac6acc458663aa66291816..0000000000000000000000000000000000000000
--- a/~dev_rating/modules/account/classes/Model/Account.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Model_Account extends Model_Kohana_Account { }
\ No newline at end of file
diff --git a/~dev_rating/modules/account/classes/User.php b/~dev_rating/modules/account/classes/User.php
deleted file mode 100644
index 62449146b19515437fe5d3384b56a3b2ea28e7d9..0000000000000000000000000000000000000000
--- a/~dev_rating/modules/account/classes/User.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class User extends Kohana_User { }
\ No newline at end of file