Change version references to 6.2.0 (#89)

* Fix cmk version

* Validate user access to config file IF it exists
diff --git a/CHANGES.md b/CHANGES.md
index c661b1f..1e18a5f 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,6 +1,14 @@
 Apache CloudStack CloudMonkey Changelog
 ---------------------------------------
 
+Version 6.2.0
+=============
+This release includes:
+- Validation of arguments while setting cloudmonkey configuration
+- Verify user access to cloudmonkey configuration file
+- Allow sync command to be used as a verb for cloudstack API calls
+- Print response with newlines if output format chosen is "text"
+
 Version 6.1.0
 =============
 This release includes
diff --git a/Dockerfile b/Dockerfile
index 13fdbf1..fef9a8d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,7 +21,7 @@
 LABEL Description="Apache CloudStack CloudMonkey; Go based CloudStack command line interface"
 LABEL Vendor="Apache.org"
 LABEL License=ApacheV2
-LABEL Version=6.1.0
+LABEL Version=6.2.0
 
 WORKDIR /work/
 RUN apt -y update && apt -y install git golang-go build-essential && \
diff --git a/README.md b/README.md
index 000cac7..9b30884 100644
--- a/README.md
+++ b/README.md
@@ -71,6 +71,13 @@
 feature set. It ships as a standalone 64-bit executable binary for several
 platforms such as Linux, Mac and Windows.
 
+**NOTE:**
+
+If cloudmonkey is being upgraded from a version lower than v6.0.0, it must be noted
+that the cloudmonkey configuration path is changed from `~/.cloudmonkey/config` to 
+`~/.cmk/config` and a default `localcloud` profile is created. One would have to hence
+do an initial setup of basic configration such apikey/secretkey/username/password/url for the required profile(s) as required
+
 ### License
 
 Licensed to the Apache Software Foundation (ASF) under one
diff --git a/config/about.go b/config/about.go
index c2a4384..7fff766 100644
--- a/config/about.go
+++ b/config/about.go
@@ -26,7 +26,7 @@
 
 // Version CLI
 func (c *Config) Version() string {
-	return "6.1.0"
+	return "6.2.0"
 }
 
 // PrintHeader prints startup message in CLI mode
diff --git a/config/config.go b/config/config.go
index 0b82c4d..0e7e78e 100644
--- a/config/config.go
+++ b/config/config.go
@@ -108,11 +108,6 @@
 }
 
 func checkAndCreateDir(path string) string {
-	isAccsessible := hasAccess(path)
-	if !isAccsessible {
-		fmt.Println("User isn't authorized to access the config file")
-		os.Exit(1)
-	}
 	if fileInfo, err := os.Stat(path); os.IsNotExist(err) || !fileInfo.IsDir() {
 		err := os.Mkdir(path, 0700)
 		if err != nil {
@@ -120,6 +115,11 @@
 			os.Exit(1)
 		}
 	}
+	isAccsessible := hasAccess(path)
+	if !isAccsessible {
+		fmt.Println("User isn't authorized to access the config file")
+		os.Exit(1)
+	}
 	return path
 }