authenticate($_POST['login_password'])) { $_SESSION['currentUser'] = $user; header("Location: index.php"); } else { $error = "