protected String validate(String alias, String name, String email){
        if(alias == null || name == null || email == null) return "Some of the parameters are null";

        String emailRegexp = "^[-a-z0-9!#$%&'*+/=?^_`{|}~]+(\\.[-a-z0-9!#$%&'*+/=?^_`{|}~]+)*@([a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?\\.)*(aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z][a-z])$";

        if(!Pattern.matches("\\w{6,20}", alias)){
            return "Alias is invalid";
        }
        if(!Pattern.matches("\\w{6,35}", name)){
            return "Full name is invalid";
        }
        if(!Pattern.matches(emailRegexp, email)){
            return "Email is invalid";
        }

        return "Success";
    }