Added copyright messages & restricted access check

In this update the following updates are done.

1. index.html is added to all of the component folders
2. Restricted access check is added to all of the php files
3. Copyright message is added at the top of all of the php files.