Implement Log out button

I am getting 404 error. can you help me?