Converting logout link to a form