Updated the PHP to allow passwords to be stored elsewhere