Replacing the index page with a login registration form is not supported.
on the users profile page, the following code makes it available to only logged in users:
<?php require_once( "WA_SecurityAssist/Helper_PHP.php" ); ?>
<?php
if (!isset($_SESSION)) {
session_start();
}
?>
<?php
if (!WA_Auth_RulePasses("Logged in to users")){
WA_Auth_RestrictAccess("users_login.php");
}
?>
you could add that code to all of the pages at the power store root (except the registration and login pages), this would cause the user to be redirected to the login page if they access one of the other pages, the login page would have a link to the registration page for them to register.