Log out the userget https://example.com/api/1/logoutLog out the user on the backend and redirect to the login page.