Changed in getToken function.Updated the variable keystoneurl to keystoneurl+"/tokens"