added set user functionality to command line