public boolean authenticate(String string, char[] c, String string0) throws Exception {
StringUtils stringutils = new StringUtils();
char password[] = new char[100];
try {
DbBean db = new DbBean();
db.connect();
String mySQL = "SELECT * FROM backend_user WHERE username = '"+string+"'";
ResultSet rs = db.execSQL(mySQL);
while (rs.next()) {
password = (stringutils.decodeBase64(rs.getString("password"))).toCharArray();
user_id = rs.getString("id");