Auth.class.php + Cookie.class.php: cookie and db based login updates