Added class for crypting data and made it active in the automatic login process