@using Newtonsoft.Json.Linq;
@{ViewBag.Title = "Home Page";}

<form id="user-timeline-form" action="" method="get">
    <label for="username-input">username:</label>
    <input type="text" id="username-input" name="username" />
    <input type="submit" name="submit" value="Show User Timeline" />
</form>

<h2>@ViewBag.Message</h2>
@if (ViewBag.HasQsVars)
{
    <div id="qsvars">
    <h3>Request Variables:</h3>
    @foreach (string key in ViewBag.QueryString)
    {
        <p class="qsvar">@key = @ViewBag.QueryString[key]</p>
    }
    </div>
}

<div id="user-timeline"></div>