Add logout process to admin.