re-add files, add new login.php, connect.php and login function