adding crypt class for securing passwords