Codeigniter Library to stop multiple attempts