create classinfo for admin and add loginout