Fixed bug (Used username for key enc)