public List<String> getValidationErrors() {
	        List<String> errors = new ArrayList<String>();

	        if (email    == null || email.length() == 0) errors.add("Email address is required");
	        if (password == null || password.length() == 0) errors.add("Password is required");
	        if (button   == null) errors.add("Button is required");

	        if (errors.size() > 0) return errors;

	        if (!button.equals("Login") && !button.equals("Register") && !button.equals("Complete Registration")) errors.add("Invalid button");
	        //if (!email.matches("@")) errors.add("Email address may be invalid");	
	        
	        return errors;
	    }