Implemented login and register functions. Also added comments to CryptographicUtilities class.