index script

added salt and updated it DB for resetting PW