Add logout form helper method.