created login.php, hopefully everything is in order, if not, then feel free to alter this as needed, have not tested this yet.