Logout is now working in options page.