Structuring code and allows only admins to edit