added user check. more work on the install subcommand