Updated CreateSchema function to store an encrypted password for the role.