logout works in admin dashboard