logout functionality added in admin