encrypted fileupload for messages, bugfixes