public String getID(Context context) {
String role = "admin";
DatabaseHandler db = new DatabaseHandler(context);
Cursor cursor = db.getUserRole();

if(cursor != null) {
while(cursor.moveToNext()) {
role = cursor.getString(0);
}
} else {
role = "";
}

cursor.close();
db.close();
return role;
}