This is related to this work I've been doing.
I have already the login part almost done, and I'm now around the logging attempts, the establishment of sessions (after a successful login), the logging of all accesses (with error or without), etc.
This is, in reality, one of the greatest parts of all that is to be done now; Almost everything else depends on the establishment of a valid session and the initialization of the session parameters....
Ok, back to work!