added logout for admins