Решил сам. Заменив:
if(!empty($_POST["login"]) && $_POST["email"]!=''&& $_POST["password"]!='') {
$email = $_POST['email'];
$password = $_POST['password'];
На:
if($email = "admin@webdamn.com" && $password = "123") {
$email = "admin@webdamn.com";
$password = "123";