fixed some functions

Login function works
delete products works/ list products (admin)
login.php works
Changed type on some of the input fields