A simplest way is to have a session variable which would contain the login status of the user. Once you authenticate the user through your main page, set the status to some value lets say true/1,
Then on each page of your site, you should check the value of status (session var.), if its true then let the user in else redirect him to login page to do the login;)
Best Luck..
Nilesh