allow logging in and encrypt file to disk