pc_user is a lightweight authentication library for CodeIgniter. It focuses on simplicity and security. Using the library, you are able to create users, make them log in and out and use secure user hashes for table relations. Logins can be restricted by a maximum number of login retries, it is possible to log in using a cookie and it is possible to use both email and username as login-identifier. Also, user-authentication by email is supported, and the library will give you proper error codes, which you can handle the way you want.
Please comment if you have any suggestions or praise. Contact me if you find bugs in the library.