I need to define a link to LogOff controller which is in my Root shared folder; within BeginForm tag.

```
@using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated) {
using (Html.BeginForm("", "", FormMethod.Post, new { id = "logoutForm", action = "Account/LogOff"}))
{
    @Html.AntiForgeryToken()
            @Html.ActionLink("Hello " + User.Identity.GetUserName() + "!", "Index", "Manage", routeValues: null, htmlAttributes: new { title = "Manage" })
   @: | <a href="javascript:document.getElementById('logoutForm').submit()">Log off</a>

}
}
else {
@Html.ActionLink("Register", "Register", "Account") 
@: | 
@Html.ActionLink("Login", "Login", "Account")
}

```

Above works fine if I'm in root folder. But if clicked from Areas, it gives me **The resource cannot be found** error.

**Requested URL: /MyApp/Area/Account/LogOff**

The correct link should be /MyApp/Account/LogOff

I saw examples using @HTML.ActionLink but would prefer to keep define it in BeginForm, so the URL is not revealed to user.