add common.java for admin