added encryption to passwords