Fixed login.php uses redirect function instead of header(location: )