diff --git a/gogs.go b/gogs.go
index 9c0d4b54e6..c8053b2800 100644
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
 	"github.com/gogits/gogs/modules/setting"
 )
 
-const APP_VER = "0.5.9.1216 Beta"
+const APP_VER = "0.5.9.1217 Beta"
 
 func init() {
 	runtime.GOMAXPROCS(runtime.NumCPU())
diff --git a/routers/user/auth.go b/routers/user/auth.go
index c695f929a7..e576e6af9c 100644
--- a/routers/user/auth.go
+++ b/routers/user/auth.go
@@ -62,6 +62,8 @@ func SignIn(ctx *middleware.Context) {
 	if err != nil {
 		if err != models.ErrUserNotExist {
 			ctx.Handle(500, "GetUserByName", err)
+		} else {
+			ctx.HTML(200, SIGNIN)
 		}
 		return
 	}
diff --git a/templates/.VERSION b/templates/.VERSION
index e72ad157a1..a4d3f0f947 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.5.9.1216 Beta
\ No newline at end of file
+0.5.9.1217 Beta
\ No newline at end of file