A php class for authentication and session creating
In order to work needs a few adjustments, I mainly have it here for a reference for future and current projects, and to have it in a central place so to make it easier to maintain.
Many parts of this class have been taken from the wordpress source code