A complete user system written in PHP