Handling authentication is a very common task and RIFE nicely abstracts the concept of users and their credentials. As you will see, there is built-in support both for keeping a list of users in an XML file, and more elaborate support for users in a database.