Thx Jason,
I redid everything , and now I don't have error notice, but it does not seem to work.
I am correct that if I login and click "remember me box", the next time I go to login my info will be in the login form or is it that I will be loged in by just going to site. this is the code from that area you asked about, thx again for helping
<form id="form1" name="form1" method="POST" action="<?php echo $loginFormAction; ?>">
<p>
<label for="username">Username:</label>
<input name="username" type="text" id="username" size="15" />
</p>
<p>
<label for="pwd">Password:</label>
<input name="pwd" type="password" id="pwd" size="15" />
</p>
<p>
<label for="rememberme">Remember me</label>
<input type="checkbox" name="rememberme" id="rememberme" />
</p>
<p>
<input type="submit" name="doLogin" id="doLogin" value="Login" />
</p>
</form>