diff --git a/modules/context/context.go b/modules/context/context.go
index f8663b9c03..b26528f6b2 100644
--- a/modules/context/context.go
+++ b/modules/context/context.go
@@ -242,6 +242,7 @@ func Contexter() macaron.Handler {
}
ctx.Data["Language"] = ctx.Locale.Language()
c.Data["Link"] = ctx.Link
+ ctx.Data["CurrentURL"] = setting.AppSubURL + c.Req.URL.RequestURI()
ctx.Data["PageStartTime"] = time.Now()
// Quick responses appropriate go-get meta with status 200
// regardless of if user have access to the repository,
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl
index 393671d3ad..b96e99702e 100644
--- a/templates/base/head_navbar.tmpl
+++ b/templates/base/head_navbar.tmpl
@@ -154,7 +154,7 @@
{{svg "octicon-person" 16}} {{.i18n.Tr "register"}}
{{end}}
-
+
{{svg "octicon-sign-in" 16}} {{.i18n.Tr "sign_in"}}