e il config .php come l'hai costruito?

e per le pagine protette cosa posso inserire?