When creating models, you need to place the file in application / models / and make the first letter of the model name capital letter - like Logon_model.php
The Logon_model.php should contain the following:
class Logon_model extends CI_Model {
public
function __construct() {
parent::__construct();
}
...