making username optional parameter for the client
making plot file stuff use new mpl client