I was wrong it wasn't that!
On the second form you haven't specified a method, so it defaults to GET, but you are trying to compare POST vars, so change this line
<center><form action="" >
to
<center><form action="" method="post">
Also your checking to see if $_POST['lsubmit'] is empty, It can't ever be empty as the value is set as Register.