public static Map<String, String> parseQuery(String query){
        Map<String, String> args = new HashMap<String, String>();
        try{
            String url[] = query.split("&");

            for(int i=0; i < url.length; i++){
                String temp[] = url[i].split("=");
                if(temp.length == 2){
                    args.put(temp[0].toLowerCase(), temp[1]);
                }
            }
        }
        catch(Exception someThing){
            someThing.printStackTrace();
        }

        return args;
    }