added scrypt encryption for passwords