private String action(String[] messageList, String address, String message) throws SQLException {
        String msg0 = messageList[0].toLowerCase();
        String msg1 = messageList[1].toLowerCase();
        String reply = "";
        if (msg0.equals("reg")) {
            DBServices.findUser("SELECT * from automart where usersId='" + address + "'");
            if (!DBServices.result.next()) {
                DBServices.insertUser("insert into `thescore`.`automart` (`usersId`) values ('" + address + "');");
                reply = "Welcome to AutoMart..., you will recieve the adds soon, Thank you";
                System.out.println("User registed : [" + address + "]");
            } else {
                reply = "You have already registered";
            }
        } else if (msg0.equals("unreg")) {
            DBServices.findUser("SELECT * from automart where usersId='" + address + "'");
            if (DBServices.result.next()) {
                DBServices.insertUser("delete from `thescore`.`users` where `usersId`='" + address + "';");
                reply = "You have successfully unregistered with AutoMart";
                System.out.println("User unregisted : [" + address + "]");
            } else {
                reply = "You are not available at AutoMart";
            }
        } else if (msg1.equals("@")) {
            String news = "";
            if (messageList.length > 2) {
                news = message.replace("@", "");
                news = news.replaceFirst(" ", "");
                news = news.replace("&", "n");
                news = news.replaceFirst("automart", "AutoMart:");
                sendBulkSms(news);
                reply = "Successfully sent the news to subscribers";
            } else {
                reply = "Fail to send the news, type automart<space>@<space><news>";
            }
        } else if (msg1.equals("users")) {
            if (messageList.length > 1) {
                DBServices.findUser("select count(usersId) from thescore.automart;");
                if (DBServices.result.next()) {
                    reply = "Subscribers count : " + DBServices.result.getInt("count(usersId)");
                } else {
                    reply = "There no users registered yet.";
                }
            } else {
                reply = "Fail to find the count of subscribers. Try again later";
            }
        } else {
            reply = "Invalide message recieved, recheck the message again,Thank you";
        }
        DBServices.DbConnectionClose();
        return reply;
    }