Update login.php

Important issue: fetch_array returns duplicate result..
change to mysqli_fetch_row
login.html + login.php will be changed to one-component as login.php as well after integrating with design