Move auth.php in a class ; add Request class ; set index.php as front controller