@Override
    public void process(Map<String, Object> jsonrpc2Params) throws Exception {
        if(method.equals(Constants.Method.LOGIN)){
            login(jsonrpc2Params);
        }
        else if(method.equals(Constants.Method.GET_ACCOUNT)){
            getAccount(jsonrpc2Params);
        }
        else if(method.equals(Constants.Method.UPDATE_ACCOUNT)){
            updateAccount(jsonrpc2Params);
        }
        else if(method.equals(Constants.Method.REGISTER)){
            register(jsonrpc2Params);
        }
        else{
            throwJSONRPC2Error(JSONRPC2Error.METHOD_NOT_FOUND, Constants.Errors.METHOD_NOT_FOUND, method);
        }
    }