Login page will redirect to index.php on success, redirect back to login page on failure (with error message)