Adding password class to handle the encryption